package com.qidian.by.cart.service;

import com.qidian.by.cart.vo.CartItemVO;
import com.qidian.by.util.pojo.EsResult;

/**
 * Author: 小可怎么都睡不够
 * Date: 2024-05-17 10:53
 * Description:
 **/
public interface CartService {
    EsResult addItemToCart(CartItemVO vo, Long userId);
    EsResult deleteItemFromCart(Long userId,Long itemId);
    EsResult updateItemCount(Long userId,Long itemId,Integer count);
    EsResult list(Long userId);
}
